From: Florian Eckert Date: Thu, 6 Mar 2025 09:33:16 +0000 (+0100) Subject: luci-base: shorten button text to Apply checked X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=12809f7380e78ebbf55f8ae0ed2923ae9b2018d8;p=project%2Fluci.git luci-base: shorten button text to Apply checked The button text is very long and breaks the css layout, so it is changed to 'Apply checked'. This also has the advantage that the button is structured in the same way as the other one, which is called 'Appply unchecked'. This enhances the look and feel Signed-off-by: Florian Eckert --- diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index cbb28a3bcf..e277bbe1b4 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4899,7 +4899,7 @@ const UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { E('button', { 'class': 'btn cbi-button-action important', 'click': resolveFn.bind(null, true) - }, [ _('Apply, reverting in case of connectivity loss') ]), ' ', + }, [ _('Apply checked') ]), ' ', E('button', { 'class': 'btn cbi-button-negative important', 'click': resolveFn.bind(null, false)